.login-container {
  height: 100vh;  /* 关键修改：使用视口高度 */
  min-height: 600px; /* 确保最小高度 */
  background-image: url('@/assets/loginBg.jpg');
  background-repeat: no-repeat;
  background-size: cover;  /* 更好的背景适配 */
  background-position: center;
  position: relative;  /* 为绝对定位子元素建立定位上下文 */
  
  .login-form-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 1000px;
    max-width: 90vw;  /* 响应式：最大宽度为视口90% */
    height: 600px;
    max-height: 80vh; /* 响应式：最大高度为视口80% */
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    
    // /* 增强的阴影效果 */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);     /* 强烈效果 */
    
    .form-left-zone {
      width: 50%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: 0.5s ease;
      .form-input{
        background: none;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 0;
        box-shadow: none;
      }
    }
    .form-left-sign-zone{
      background-image: url('@/assets/login-left.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    // 拥有该类名时，左边DIV可向右滑动自身宽度的距离
    .form-swapped-left{
      transform: translateX(100%);
    }
    
    .form-right-zone {
      width: 50%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: 0.5s ease;
      .form-input{
        background: none;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 0;
        box-shadow: none;
        width: 200px;
      }
    }
    .form-right-login-zone{
      background-image: url('@/assets/login-right.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    // 拥有该类名时，右边DIV可向左滑动自身宽度的距离
    .form-swapped-right{
      transform: translateX(-100%);
    }
  }
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .login-container .login-form-zone {
    width: 90%;
    height: auto;
    min-height: 500px;
    flex-direction: column;
    
    .form-left-zone,
    .form-right-zone {
      width: 100%;
      height: 50%;
    }
  }
}